package org.jbit.news.dao;

import java.util.List;
import java.util.Map;

import org.jbit.news.entity.Topic;

public interface TopicsDao{
	public List<Topic> getAllTopics();	
	public int updateTopic(Map<String,String> topic);
	public Topic findTopicByName(String name);
	public int addTopic(String name);
	public int deleteTopic(String tid);
}